package com.woniuxy.entity.house.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 查询房屋信息的条件
 */

@Data
@Setter
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SelectHouseDto implements Serializable {
    private static final long serialVersionUID = 1L;
    //朝向
    private String toward;
    //最低楼层
    private int minFloor;
    //最高楼层
    private int maxFloor;
    //最小面积
    private BigDecimal minArea;
    //最大面积
    private BigDecimal maxArea;
    //最低单价
    private int minPrice;
    //最高单价
    private int maxPrice;
    //价格排序
    private boolean sortPrice;
}
